package ebcs.database.mybatis.dao;

import ebcs.database.bean.BsProTeamInfor;
import ebcs.database.bean.BsProTeamInfor;
import ebcs.database.bean.BsProTeamInforExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface BsProTeamInforMapper {
    int deleteByExample(BsProTeamInforExample example);

    int insert(BsProTeamInfor record);

    int insertSelective(BsProTeamInfor record);

    List<BsProTeamInfor> selectByExample(BsProTeamInforExample example);

    int updateByExampleSelective(@Param("record") BsProTeamInfor record, @Param("example") BsProTeamInforExample example);

    int updateByExample(@Param("record") BsProTeamInfor record, @Param("example") BsProTeamInforExample example);
    
    List<BsProTeamInfor> selectProTeamDetail(BsProTeamInfor proTeam);
    
    List<BsProTeamInfor> selectProTeamInforsByProTeamName(@Param("proTeamName") String proTeamName);
    
    int updateProTeamByTeamNo(@Param("record") BsProTeamInfor proTeam );
    
    int deleteProTeamByProTeamNo(@Param("proTeamNo") String proTeamNo);
    //传入新增项目组的团队ID 返回最新的项目组ID
    BsProTeamInfor selectProTeamMaxNoByGroupNo(@Param("groupNo") String groupNo);
    List<BsProTeamInfor> selectProTeamByGroupNo(@Param("groupNo") String groupNo);
}